﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewRequest.aspx.cs" Inherits="ExpenseReimbursement.NewRequest" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>个人借款及发票报销申请</title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" language="javascript">
        function check(ID) {
            if (ID == 'rdoMoney') {

                document.getElementById("DivMoney").style.display = "";
                document.getElementById("DivContract").style.display = "none";

            } else if (ID == 'rdoRemiber') {
                document.getElementById("DivMoney").style.display = "none";
                document.getElementById("DivContract").style.display = "";
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
    <div class="row">
    <ui:UserInfo ID="UserInfo1" ProcessName="个人借款及发票报销申请" runat="server"></ui:UserInfo>
    </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner">
                        表单类别
                    </td>
                    <td class="td-content" colspan="3">
                        <span onclick="check('rdoMoney')">
                            <asp:RadioButton ID="rdoMoney" runat="server" Checked="true" GroupName="rdos" Text="资金支付类" /></span>
                        <span onclick="check('rdoRemiber')">
                            <asp:RadioButton ID="rdoRemibur" runat="server" GroupName="rdos" Text="发票报销类" /></span>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row" id="DivMoney">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                    资金支付
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        项目名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                    <td class="td-label">
                        共需天数：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        借款金额：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                      <asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        备注：
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox14" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        借款事由：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="txtSealName" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row" id="DivContract" style="display:none;">
                    <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                    合同发票
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        所属公司：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <td class="td-label">
                        发票金额：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:Label ID="Label1" runat="server" Text=""></asp:Label> 
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        发票金额大写：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                           <asp:Label ID="Label2" runat="server" Text=""></asp:Label> 
                    </td>
                    <td class="td-label">
                        发票信息：
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        发票号：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        备注：
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:Attachments ID="Attachments1" runat="server"></attach:Attachments>
        </div>
        <div class="row">
            <ah:ApprovalHistory ID="ApprovalHistory1" ShowAction="false" runat="server"></ah:ApprovalHistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:ButtonList ID="ButtonList1" runat="server"></btn:ButtonList>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
